#ifndef WHILE_HPP
#define WHILE_HPP

#include "Instruction.hpp"

class While :
    virtual public Instruction
{
    private:
        Expression* condition;
        Instruction* codeBoucle;

    public:
        While(Expression* _condition,Instruction* _codeBoucle);
        virtual ~While();
        virtual void execute();
        virtual void display(const unsigned int shift=0) const;
};

#endif
